//
//  MBBasePageTableViewController.m
//  MemberBusiness-ios
//
//  Created by cherry pu on 2018/4/19.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import "MBBasePageTableViewController.h"

@interface MBBasePageTableViewController ()
@property (nonatomic,strong) MBPageTableViewModel *viewModel;
@end

@implementation MBBasePageTableViewController

@dynamic viewModel;

- (instancetype)initWithViewModel:(MBPageTableViewModel *)viewModel
{
    return [super initWithViewModel:viewModel];
}

- (void)setupLayout
{
    [super setupLayout];
}

- (void)hideLoadingViewFooter
{
    self.hideFooterLoadingMore = self.viewModel.isNeedHiddenFooter;
    [self endHeaderRefresh];
    [self endFooterRefresh];
    
}

@end
